home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 10 / AACD 10.iso / AACD / Games / MAME / src / sound / qsound.h < prev    next >
C/C++ Source or Header  |  2000-04-04  |  672b  |  27 lines

  1. /*********************************************************
  2.  
  3.     Capcom Q-Sound system
  4.  
  5. *********************************************************/
  6.  
  7. #ifndef __QSOUND_H__
  8. #define __QSOUND_H__
  9.  
  10. #define QSOUND_CLOCK    4000000   /* default 4MHz clock */
  11.  
  12. struct QSound_interface {
  13.     int clock;                    /* clock */
  14.     int region;                    /* memory region of sample ROM(s) */
  15.     int mixing_level[2];        /* volume */
  16. };
  17.  
  18. int  qsound_sh_start( const struct MachineSound *msound );
  19. void qsound_sh_stop( void );
  20.  
  21. WRITE_HANDLER( qsound_data_h_w );
  22. WRITE_HANDLER( qsound_data_l_w );
  23. WRITE_HANDLER( qsound_cmd_w );
  24. READ_HANDLER( qsound_status_r );
  25.  
  26. #endif /* __QSOUND_H__ */
  27.